home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / computer-janitor.postrm < prev    next >
Encoding:
Text File  |  2009-04-17  |  393 b   |  19 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # postinst creates /var/lib/computer-janitor. Running computer-janitor
  6. # creates state.dat in that directory. That file is similar to a config
  7. # file: it should be deleted at purge, but not at normal package
  8. # removal. We handle that here.
  9.  
  10. case "$1" in
  11.     purge)
  12.         rm -f /var/lib/computer-janitor/state.dat
  13.         rmdir /var/lib/computer-janitor
  14.         ;;
  15. esac
  16.  
  17.  
  18.  
  19.